package cn.cdnsu.auth.mapper;

import cn.cdnsu.auth.domain.Role;
import cn.cdnsu.auth.dto.RoleDTO;
import cn.cdnsu.auth.query.RoleQuery;
import cn.cdnsu.base.mapper.BaseMapper;
import cn.cdnsu.base.util.PageInfo;
import org.apache.ibatis.annotations.Mapper;

import java.io.Serializable;
import java.util.List;
@Mapper
public interface RoleMapper extends BaseMapper<Role> {
    //授权相关的接口

    List<String> selectByRoleId(Serializable id);

    void deleteByRoleId(Serializable id);

    void inserByRoleId(RoleDTO roleDTO);
}
